Click here to Skip to main content
15,897,891 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionORA-06502: PL/SQL: numeric or value error: character string buffer too smal Pin
ljammala16-Jul-08 10:39
ljammala16-Jul-08 10:39 
AnswerRe: ORA-06502: PL/SQL: numeric or value error: character string buffer too smal Pin
Mycroft Holmes16-Jul-08 20:22
professionalMycroft Holmes16-Jul-08 20:22 
GeneralRe: ORA-06502: PL/SQL: numeric or value error: character string buffer too smal Pin
ljammala17-Jul-08 2:15
ljammala17-Jul-08 2:15 
GeneralRe: ORA-06502: PL/SQL: numeric or value error: character string buffer too smal Pin
ljammala17-Jul-08 2:24
ljammala17-Jul-08 2:24 
QuestionNew Data Row Pin
zzsoulzz16-Jul-08 5:50
zzsoulzz16-Jul-08 5:50 
AnswerRe: New Data Row Pin
nlarson1116-Jul-08 6:52
nlarson1116-Jul-08 6:52 
AnswerRe: New Data Row Pin
paas16-Jul-08 6:59
paas16-Jul-08 6:59 
QuestionCalculating intervals using Dates Pin
KrisnNala16-Jul-08 5:41
KrisnNala16-Jul-08 5:41 
Hi

Hope you can help. I've got data saved in SQL DataTable in 1 column is the date an invoice was sent. 2nd column is a Bit(Boolean). This tells me whether the invoice has been paid.

I want to work it so that on form load, a msgbox tells the User to send a reminder for a particular invoice.

The code I'm using works fine for 1st 2 rows and then misses out all other rows.

Any ideas please? Confused | :confused:

Dim CurrentDate As Date
Dim ReminderDate As Date
Dim InvoiceDate As Date
Dim msgbxReminder As MsgBoxResult
CurrentDate = Date.Now.Date
InvoiceDate = Me.DachelDataSet.Invoices.Rows(Me.InvoicesBindingSource.Position).Item("InvoiceDate")
ReminderDate = DateAdd(DateInterval.Month, 1, InvoiceDate)
For Each dr As DataRow In Me.DachelDataSet.Invoices.Rows
If dr("Cleared") Is System.Convert.DBNull Then
If CurrentDate = ReminderDate Then
msgbxReminder = MsgBox("The Invoice for" & " " & CurrentClient & " " & "which is Invoice Number " & " " & CurrentInvoiceID & " " & "is 1 month overdue.")
End If
End If
Next

Thanks all Wink | ;)

Kris MCP

AnswerRe: Calculating intervals using Dates Pin
Luc Pattyn16-Jul-08 6:20
sitebuilderLuc Pattyn16-Jul-08 6:20 
GeneralRe: Calculating intervals using Dates Pin
KrisnNala16-Jul-08 7:21
KrisnNala16-Jul-08 7:21 
GeneralRe: Calculating intervals using Dates Pin
Luc Pattyn16-Jul-08 7:24
sitebuilderLuc Pattyn16-Jul-08 7:24 
GeneralRe: Calculating intervals using Dates Pin
KrisnNala16-Jul-08 7:34
KrisnNala16-Jul-08 7:34 
AnswerRe: Calculating intervals using Dates Pin
Guffa16-Jul-08 10:18
Guffa16-Jul-08 10:18 
AnswerRe: Calculating intervals using Dates Pin
Guffa16-Jul-08 10:18
Guffa16-Jul-08 10:18 
GeneralRe: Calculating intervals using Dates Pin
KrisnNala16-Jul-08 22:39
KrisnNala16-Jul-08 22:39 
GeneralRe: Calculating intervals using Dates Pin
Guffa17-Jul-08 1:15
Guffa17-Jul-08 1:15 
GeneralRe: Calculating intervals using Dates Pin
KrisnNala17-Jul-08 4:13
KrisnNala17-Jul-08 4:13 
QuestionHow to compile solution with mutliple project types properly? Pin
Jon_Boy16-Jul-08 4:09
Jon_Boy16-Jul-08 4:09 
AnswerRe: How to compile solution with mutliple project types properly? Pin
Paul Conrad16-Jul-08 4:32
professionalPaul Conrad16-Jul-08 4:32 
GeneralRe: How to compile solution with mutliple project types properly? Pin
Jon_Boy16-Jul-08 6:15
Jon_Boy16-Jul-08 6:15 
GeneralRe: How to compile solution with mutliple project types properly? Pin
darkelv16-Jul-08 15:58
darkelv16-Jul-08 15:58 
Questionreferencing ocx file Pin
swapg16-Jul-08 3:41
swapg16-Jul-08 3:41 
QuestionRe: referencing ocx file Pin
Paul Conrad16-Jul-08 4:33
professionalPaul Conrad16-Jul-08 4:33 
AnswerRe: referencing ocx file Pin
swapg16-Jul-08 21:29
swapg16-Jul-08 21:29 
QuestionDataGridView Pin
Riaz Ahmed16-Jul-08 1:43
Riaz Ahmed16-Jul-08 1:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.