Linking Format To Database?
Hi and merry christmas!
Is there a way to fill variable format fields (supstrings) via .Net SDK which are nomaly filled by ODBC database?
Best regards
-
Shotaro Ito
★ BarTender Hero ★
On BarTender's template design, you can name the datasource even though it has database field.
From .net SDK's LabelFormatDocument.Substrings, you can fill the variables.
If the question is to name data source via SDK code, then there's no such options - you have to do that manually.
0 -
Legacy Poster
★ BarTender Hero ★
Can you explane this naming of the datasource in more detail please?
0 -
Canguita
★ BarTender Hero ★
You can naming your Data Source in the item properties. Please check the attached screenshot
0 -
Legacy Poster
★ BarTender Hero ★
Sorry but there is no screenshot!
0 -
Legacy Poster
★ BarTender Hero ★
If I unterstand Shotaro right, I have access to the data field names from the format --> format.DatabaseConnections.UsedDatabaseFieldNames
but I can not set the values of this field names via sdk?
Am I right??
0 -
Legacy Poster
★ BarTender Hero ★
This is our old visual basic code for Bartender 7.10 Enterprise using ActiveX and this is working:
For i = 0 To btFormat.NamedSubStrings.Count -1 If btFormat.NamedSubStrings.Item(i).Type = BarTender.BtSubStringType.btSubStringDatabase Then ...
Can you help me to unterstand how this works?
0 -
Shotaro Ito
★ BarTender Hero ★
Prior to BarTender 10.1, named data source was called named substring. That can (only) be defined from BarTender GUI, on template design view (as attached - finally.)
0
請登入寫評論。
評論
7 條評論