Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GrdList
Message
From
14/08/2003 09:47:42
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
14/08/2003 09:25:56
John Vlahos
V I Software Solutions Design
Mississauga, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00819875
Message ID:
00820108
Views:
25
Hi

You can put code in when event of grid to add a new record if there is no records in view.
Works with mouse click on empty grid too
if eof('view_alias')    &&or reccount()=0
	appe blank
	replace ...
	this.refresh()
endif
>Thanks for your help. I haven't fooled around with grids as much as I would like to, thanks for your help.
>
>If the view in the grid is empty how can I add a new record and make it work like if the view was not empty?
>
>The downarrow will not add a record to an empty grid, but it will if the grid was not empty to start with.
Previous
Reply
Map
View

Click here to load this message in the networking platform