on 08-03-2006 1:45 PM
dear sir,
what does this coding mean
oForm.DataSources.UserDataSources.Add("EditSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
Thanks
regards
Isha.
Hi Isha,
Data Sources are used to show data on the screen. Each control (or most of them at least) needs to be bound to a data source to be able to display and hold information. A DB Data Source is a container of information that is retrieved directly from the database and written back to that database field. A User Data Source is a container for data that is not bound to the database. Lets say you want to calculate someone's age based on their birth date (and this age is not stored in the database) you'll use a user data source to display and hold the data on screen. Another reason for using a user data source is that a matrix can only hold information from one database table. If you want to retrieve data into a matrix from another table you will have to use a user data source and retrieve the data manually.
Hope it helps,
Adele
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.