Zum Hauptinhalt gehen

Suche

Suche

Database setup in Table properties missing query prompt button

Kommentare

2 Kommentare

  • Avatar
    Xabier Clemente
    Moderator

    Hi Brian,

    Welcome to the BarTender Community Forums!

    Yes, it is possible to use query prompts in a table database connection in BarTender Designer software. However, the syntax and usage might differ slightly depending on the specific database system you are using. Could you tell us what database type it is? Also, here are a few general guidelines to help you troubleshoot the issues you mentioned in the meantime:

    • Ensure that the query prompt parameter is properly defined in the main database query. It should be defined as a parameter placeholder (e.g., @QueryPrompt1 or :QueryPrompt1, depending on the database system).

    • In the table database statement, make sure you are referencing the query prompt parameter correctly. The syntax may vary depending on the database system, but typically, you need to use the same parameter placeholder as defined in the main database query. For example, if you used ?QueryPrompt1 in the main query, you should also use ?QueryPrompt1 in the table database statement.

    • Check the data types of the fields involved. The "Error converting data type varchar to numeric" suggests that there might be a mismatch between the data types of the query prompt parameter and the corresponding column in the table database. Ensure that the data types match correctly.

    • Verify that the query prompt parameter is being passed correctly from the main database query to the table database statement. This could involve checking how the parameter is assigned or bound in the SQL statements or within BarTender Designer itself.

    • Make sure that the query prompt parameter is properly configured in BarTender Designer. Double-check that the query prompt is defined correctly and associated with the correct database field.

    It's worth noting that the specific steps and syntax may vary depending on the version of BarTender Designer and the database system you are using, so if you could provide us with your BarTender version. edition and service release; the method you are connecting your database with; and your database type, we would appreciate it.

    Thank you.

    0
  • Avatar
    Brian Sykes

    Thanks Xabier, 

    I think I have gone over all your bullet points, as best as I can, with no difference in results. I will go over this with our DBA and see if he can't shed some light on it for me and or get you the information you requested.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.