Page 2 of 2

Re: dbpro questions

PostPosted: Fri Aug 08, 2014 11:01 pm
by zina
Hello,

Thanks Gaev
Have a nice weekend

Grtz

Re: dbpro questions

PostPosted: Sat Aug 09, 2014 6:09 am
by stu
yanzco wrote:the search bar works now..
with every letter typed, it searches the closest it matches..

now, ive got alist maker like in one of the DBpro sample [OrderEntry]

it lists the items ordered of the invoice in OrderDetails in grid view...
when double clicked, it deletes an item..

i tried mine, when i add a student. it adds to the database...
works ok.
but when i try to double click to delete the selected student..
dbpDeleteRecord

it clears the grid.
(blank view on the grid)

when i check access database, all the other students are there, and the deleted record was successfully deleted.
but in [OrderEntry] sample, when you double click, it deletes, but doesnt clear the grid, the other items remain.

mine wont, it deletes the record, and clears the grid..

where did i go wrong? confused.

edit: temporarily, i query searched the definedrelationship linked field which is [class]
after dbpDeleteRecord, i added query search [class]
so it lists the results again at the table grid..

it now works as i want.. but, still i dont know why my grid clears when i delete a record earlier..


I deal with this by just querying again right after the operation.