terhart
Posts: 4
|
| Posted: 07/25/2005, 12:38 AM |
|
Hi,
To save me some time I used the Codecharge Example DependentListBox3 form the Examplepack2.
Fine example, only when I use it, it doesn't show all records. Even worse, I've got no idea why it shows the records it shows. It looks like it picks at random some records from the table.
Then I just used the plain example program and just copied it. 1 to 1
Same thing also now not all records are showing.
Did somebody have the same experience and solved it? Somebody who can help me?
|
 |
 |
Sean
Posts: 39
|
| Posted: 07/25/2005, 10:57 AM |
|
I had some similar problems.
First, check to make sure your grid allows for the appropriate number of records.
Second (and this was my problem), check the view source of the page and look at the last record in your JavaScript array. My last record had an ' (apostrophe) in the last name, causing JavaScript to get screwy.
If that's the case, I just added the following to the Before Show event of the label:
Dim rLName
rLName= Replace(Employees.LName.value,"'"," ")
Employees.LName.value = rLName
Good Luck!
|
 |
 |
|